<template>
  <div>
    <HeaderBlock />
    <!-- 路由组件 -->
    <router-view></router-view>
    <FooterBlock v-if="$route.meta.show" />
  </div>
</template>

<script>
import HeaderBlock from "./components/Header/index.vue";
import FooterBlock from "./components/Footer/index.vue"
export default {
  data() {
    return {

    };
  },
<<<<<<< HEAD
  mounted() {
    // 
    // console.log(this.$route.meta.show);
=======
  beforeCreate() {
    this.$store.dispatch("categoryList");     
>>>>>>> ecb56e7 (first commit)
  },
  components: {
    HeaderBlock,
    FooterBlock,
  },
}
</script>

<style>

</style>